package com.wh.wisdomsite.xbox.ba.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * 菜单角色关系实体
 *
 * @version V1.0
 * @Package: com.wh.wisdomsite.xbox.ba.entity
 * @author: 丁奕
 * @date: 2018-08-08 16:39
 * @Copyright 公司版权所有
 * @Company 贵州万华科技有限公司Copyright (c) 2016
 **/
@TableName("ba_menuRole")
public class MenuRole extends Model<MenuRole> {

    /**
     * 菜单角色关系ID
     */
    @TableId(type = IdType.UUID)
    private String mrId;


    /**
     *FK, 菜单ID
     */
    @TableField("meId")
    private String meId;

    /**
     *FK, 角色ID
     */
    @TableField("roId")
    private String roId;

    public String getMrId() {
        return mrId;
    }

    public void setMrId(String mrId) {
        this.mrId = mrId;
    }

    public String getMeId() {
        return meId;
    }

    public void setMeId(String meId) {
        this.meId = meId;
    }

    public String getRoId() {
        return roId;
    }

    public void setRoId(String roId) {
        this.roId = roId;
    }

    @Override
    protected Serializable pkVal() {
        return this.mrId;
    }
}
